public class arraytest {
    public static void main(String[] args) {
    int[] a=new int[2];
    try{
        for(int i=0;i<3;++i)
        {
            a[i]=0;
        }
    }catch(ArrayIndexOutOfBoundsException e1){
            System.out.println("array out of bounds");
        }finally{
            System.out.println("over");
        }


    }
}
